Skip to content

ZOOKEEPER-4658: Fixed log redirection from stderr to stdout in zkServer.sh - #2455

Open
TitanMaster7801 wants to merge 1 commit into
apache:masterfrom
TitanMaster7801:master
Open

ZOOKEEPER-4658: Fixed log redirection from stderr to stdout in zkServer.sh#2455
TitanMaster7801 wants to merge 1 commit into
apache:masterfrom
TitanMaster7801:master

Conversation

@TitanMaster7801

Copy link
Copy Markdown

On Jira, Zookeeper-4658 issue stated that the information logs were being sent to stderr instead of stdout. I went into zkServer.sh and fixed the directions. The logs are now going to stdout.

@anmolnar anmolnar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.
Thanks for the contribution. Could you please assign the jira ticket to yourself?

Comment thread bin/zkServer.sh
fi
fi
else
echo "JMX disabled by user request" >&2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also be stdout.

Comment thread bin/zkServer.sh
fi
;;
*)
echo "Usage: $0 [--config <conf-dir>] {start|start-foreground|stop|version|restart|status|print-cmd}" >&2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants